package com.xique.park.bean.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.xique.park.bean.transform.web.car.PayTypeConverter;
import com.xique.park.bean.transform.web.car.TransTypeConverter;
import com.xique.park.bean.transform.web.records.PayStatusConverter;
import com.xique.park.bean.transform.web.records.PaymentStatusConverter;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 工行支付记录导出类
 *
 * @author WLD
 */
@Data
@ColumnWidth(40)
public class PayOrderExportIcbcDto implements Serializable {

    @ExcelProperty("订单号")
    private String orderNo;

    @ExcelProperty("支付序列号")
    private String paySsn;

    @ExcelProperty("车牌")
    private String plate;

    @ExcelProperty(value = "交易类型", converter = TransTypeConverter.class)
    private String transType;

    @ExcelProperty("缴费通道")
    private String payLaneName;

    @ExcelProperty("订单金额（元）")
    private BigDecimal amt;

    @ExcelProperty("支付金额（元）")
    private BigDecimal actualFee;

    @ExcelProperty("手续费（元）")
    private BigDecimal serviceCharge;

    @ExcelProperty("应结算金额（元）")
    private BigDecimal settlementAmount;

    @ExcelProperty("支付时间")
    private Date payTime;

    @ExcelProperty(value = "支付类型", converter = PayTypeConverter.class)
    private String payType;

    @ExcelProperty(value = "支付订单状态", converter = PayStatusConverter.class)
    private String status;

    @ExcelProperty(value = "打款状态", converter = PaymentStatusConverter.class)
    private Integer paymentStatus;

    @ExcelProperty("打款金额（元）")
    private BigDecimal paymentAmount;
}
